package com.zegome.game.oanquan;

import java.util.Random;

import android.util.Log;

/**
 * (C) 2013 ZeroTeam
 * @author QuanLT
 */

public class GameCenter {
	// ===========================================================
	// Constants
	// ===========================================================
	public static final int CAMERA_WIDTH = 800;
	public static final int CAMERA_HEIGHT = 480;

	public static final Random GAME_RANDOM = new Random();
	
	// ===========================================================
	// Fields
	// ===========================================================
	
	public static final String GOOGLE_ADVIEW_ID = "a1529345c02966d";
	public static final String APPOTA_ADVIEW_ID = "a1527cf0286ec5c";
	
	// ********* Board ********** //
	public static final int BOARD_X = 55;
	public static final int BOARD_Y = 140;
	
	public static int NUMBER_PLAYER = 2;
	public static boolean isNeedAI = false;
	
	public static int COURTING = 5;
	
	public static int DEPTH = 1;
	public static int LEVEL = 2;
	
	public static float TIME_DEFAULT = 20;
	
	public static boolean isNetworkAvailable = false;
	
	public static boolean isSessionOpened = false;
	public static boolean isAdView = true;
	public static boolean isKeyboard = true;
	public static final boolean isGooglePlay = true;
	
	// ********* Asset ********** //
		
	public static boolean isMusic = true;
	public static boolean isSound = true;
	
	public static final String SCREEN_PLAYING = "playing";
	public static final String SCREEN_LOADING = "loading";
	public static final String SCREEN_MENU = "menu";
	
	public static final String ATLAS = "atlas/";
	public static final String SOUND = "sound/";
	public static final String MUSIC = "music/";
	public static final String FONT = "font/";
	
	public static final String ASSET_FOLDER_FONT = "data/font/";
	public static final String ASSET_SKIN = "uiskin.json";
	public static final String ASSET_FONT = "default.fnt";
	public static final String ASSET_FONT_BITMAP = "default.png";
	public static final String ASSET_FONT_HIGH_SCORE = "oanquan_highscore.fnt";
	public static final String ASSET_FONT_HIGH_SCORE_BITMAP = "oanquan_highscore.png";

	// ===========================================================
	// Constructor
	// ===========================================================

	// ===========================================================
	// Getter & Setter
	// ===========================================================

	// ===========================================================
	// Methods for/from SuperClass/Interfaces
	// ===========================================================

	// ===========================================================
	// Methods
	// ===========================================================
	public static void log(final String message) {
		Log.e("com.zegome.game", message);
	}
	
	public static void reset() {
//		isSessionOpened = false;
	}
	
	public static void dispose() {
		reset();
	}
	
	// ===========================================================
	// Inner and Anonymous Classes
	// ===========================================================
}
